<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <body>
        <ui:composition>
            <h:outputStylesheet library="css" name="company/bag/bag.css"></h:outputStylesheet>
            <h:outputStylesheet library="css" name="company/bag/bag_desktop.css" media="screen and (min-width:1025px) and (max-width:1600px)"></h:outputStylesheet>
            <h:outputStylesheet library="css" name="company/bag/bag_desktop_wide.css" media="screen and (min-width : 1601px)"></h:outputStylesheet>
            <h:outputStylesheet library="css" name="company/bag/bag_tablet.css" media="screen and (min-device-width : 768px) and (max-device-width : 1024px), screen and (max-width:1024px)"></h:outputStylesheet>
            <h:outputStylesheet library="css" name="company/bag/bag_smartphone.css" media="screen and (min-device-width : 320px) and (max-device-width : 767px), screen and (max-width:767px)"></h:outputStylesheet>
            
            <p:panel id="bagPanel">
                <h:outputText value="Tienes #{bagBean.selectedCandidates.size()} candidatos en la bolsa"></h:outputText>
                <h:form>
                    <ui:insert name="viewBagCommand">
                        <p:commandButton id="recruitButton" ajax="false" value="#{messages.Recruit}" disabled="#{empty bagBean.selectedCandidates}" process="@this" action="#{bagBean.redirectToBag}"></p:commandButton>
                    </ui:insert>
                </h:form>
            </p:panel>
        </ui:composition>
    </body>
</html>

